import service from '@/utils/request'

// @Tags LinesTails
// @Summary 创建LinesTails
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LinesTails true "创建LinesTails"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /linesTails/createLinesTails [post]
export const createLinesTails = (data) => {
     return service({
         url: "/linesTails/createLinesTails",
         method: 'post',
         data
     })
 }


// @Tags LinesTails
// @Summary 删除LinesTails
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LinesTails true "删除LinesTails"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /linesTails/deleteLinesTails [delete]
 export const deleteLinesTails = (data) => {
     return service({
         url: "/linesTails/deleteLinesTails",
         method: 'delete',
         data
     })
 }

// @Tags LinesTails
// @Summary 删除LinesTails
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除LinesTails"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /linesTails/deleteLinesTails [delete]
 export const deleteLinesTailsByIds = (data) => {
     return service({
         url: "/linesTails/deleteLinesTailsByIds",
         method: 'delete',
         data
     })
 }

// @Tags LinesTails
// @Summary 更新LinesTails
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LinesTails true "更新LinesTails"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /linesTails/updateLinesTails [put]
 export const updateLinesTails = (data) => {
     return service({
         url: "/linesTails/updateLinesTails",
         method: 'put',
         data
     })
 }


// @Tags LinesTails
// @Summary 用id查询LinesTails
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LinesTails true "用id查询LinesTails"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /linesTails/findLinesTails [get]
 export const findLinesTails = (params) => {
     return service({
         url: "/linesTails/findLinesTails",
         method: 'get',
         params
     })
 }


// @Tags LinesTails
// @Summary 分页获取LinesTails列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.PageInfo true "分页获取LinesTails列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /linesTails/getLinesTailsList [get]
 export const getLinesTailsList = (params) => {
     return service({
         url: "/linesTails/getLinesTailsList",
         method: 'get',
         params
     })
 }